package org.mango.mapper;

import java.util.List;
import java.util.Map;

import org.mango.bean.Grid;

public interface GridMapper {
    int deleteByPrimaryKey(String id);

    int insert(Grid record);

    Grid selectByPrimaryKey(String id);

    List<Grid> selectAll(Map<String, Object> map);

    int updateByPrimaryKey(Grid record);

    int countAll(Map<String, Object> inmap);

    void updateShow(Grid grid);

    List<Grid> listRandom(Map<String, Object> map);
}